﻿<extend name="Public/base"/>
    <block name="title">
       {$sfres.title}
    </block>
<block name="body">
	<!-- header end -->
	<div class="space-custom"></div>
	<!-- breadcrumb start -->
	<div class="breadcrumb-area">
		<div class="container">
			<ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-home"></i></a></li>
                <li><a href="#">商品</a></li>
                <li class="active">沙发</li>
			</ol>			
		</div>
	</div>
	<!-- breadcrumb end -->
	<!-- shop-area start -->
	<div class="shop-area">
		<div class="container">
			<div class="row">
				<div class="col-md-3 col-sm-4">
					<div class="column">
						<h2 class="title-block">目录</h2>
						<div class="sidebar-widget">
							<h3 class="sidebar-title">库存</h3>
							<ul class="sidebar-menu">
								<li><a href="#">有 存货 <span>(13)</span></a></li>
							</ul>
						</div>
						<div class="sidebar-widget">
							<h3 class="sidebar-title">筛选条件</h3>
							<ul class="sidebar-menu">
								<li><a href="#">新品 <span>(11)</span></a></li>
							</ul>
						</div>
						<div class="sidebar-widget">
							<h3 class="sidebar-title">品牌</h3>
							<ul class="sidebar-menu">
								<li><a href="#"> Fashion Manufacturer  <span>(13)</span></a></li>
							</ul>
						</div>
						<div class="sidebar-widget">
							<h3 class="sidebar-title">Manufacturer</h3>
							<div class="price-filter">
								<p>
								  <label for="amount">价位区间:</label>
								  <input type="text" id="amount" readonly style="border:0; color:#f6931f; font-weight:bold;">
								</p> 
								<div id="slider-range"></div>
							</div>
						</div>
						<div class="sidebar-widget">
							<h3 class="sidebar-title">风格</h3>
							<ul class="sidebar-menu">
							    <foreach name="res" item="v">
								<li><a href="{:U('id='.$v['id'])}">{$v.title}<span>({$v.count})</span></a></li>
								</foreach>
							</ul>
						</div>
						<div class="sidebar-widget">
							<h3 class="sidebar-title">类型</h3>
							<ul class="sidebar-menu">
							    <foreach name="res1" item="v">
								<li><a href="#">{$v}<span>(2)</span></a></li>
								</foreach>
							</ul>
						</div>
						<div class="sidebar-widget">
							<h3 class="sidebar-title">{$res3}</h3>
							<ul class="sidebar-menu">
							    <foreach name="res2" item="v">
								<li><a href="#">{$v}<span>(2)</span></a></li>
								</foreach>
							</ul>
						</div>
					</div>
				</div>
				<div class="col-md-9 col-sm-8">
					<h2 class="page-heading mt-40">
						<span class="cat-name">Sofa</span>
						<span class="heading-counter">There are 13 products.</span>
					</h2>
					<div class="shop-page-bar">
						<div>	
							<div class="shop-bar">
								<!-- Nav tabs -->
								<ul class="shop-tab f-left" role="tablist">
									<li role="presentation" class="active"><a href="#home" data-toggle="tab"><i class="fa fa-th-large" aria-hidden="true"></i></a></li>
									<li role="presentation"><a href="#profile" data-toggle="tab"><i class="fa fa-th-list" aria-hidden="true"></i></a></li>
								</ul>
								<div class="selector-field f-left ml-20 hidden-xs">
									<form action="#">
										<label>Sort by</label>
										<select name="select">
											<option value="">----</option>
											<option value="">Price: Lowest first</option>
											<option value="">Price: Highest first</option>
											<option value="">Product Name: A to Z</option>
											<option value="">Product Name: Z to A</option>
											<option value="">In stock</option>
											<option value="">Reference: Lowest first</option>
											<option value="">Reference: Highest first</option>
										</select>
									</form>
								</div>
								<div class="selector-field f-left ml-30 hidden-xs">
									<form action="#">
										<label>Show</label>
										<select name="select">
											<option value="">12</option>
											<option value="">13</option>
											<option value="">14</option>
										</select>
									</form>
								</div>
								<div class="selector-field f-right ml-30">
									<form action="#">
										<button class="compare">Compare (1)</button>
									</form>
								</div>
							</div>	
							<!-- Tab panes -->
							<div class="tab-content">
								<div role="tabpanel" class="tab-pane active" id="home">
									<div class="row">
                                    <foreach name="res4" item="v">
										<div class="col-md-4 col-sm-6">
											<div class="product-wrapper mb-40">
												<div class="product-img">
													<a href="#"><img src="__ROOT__/Uploads/{$v.file}" alt="" /></a>
													<span class="new-label">New</span>
													<div class="product-action">
														<a href="#"><i class="pe-7s-cart"></i></a>
														<a href="#"><i class="pe-7s-like"></i></a>
														<a href="#"><i class="pe-7s-folder"></i></a>
														<a href="#" data-toggle="modal" data-target="#productModal"><i class="pe-7s-look"></i></a>
													</div>
												</div>
												<div class="product-content">
													<div class="pro-title">
														<h3><a href="{:U('Shop/details?id='.$v['id'])}">{$v.title}</a></h3>
													</div>
													<div class="price-reviews">
														<div class="price-box">
															<span class="price product-price">￥{$v.price}</span>
															<span class="old-price product-price">￥{$v.price}</span>
														</div>
														<div class="pro-rating">
															<a href="#"><i class="fa fa-star-o"></i></a>
															<a href="#"><i class="fa fa-star-o"></i></a>
															<a href="#"><i class="fa fa-star-o"></i></a>
															<a href="#"><i class="fa fa-star-o"></i></a>
															<a href="#"><i class="fa fa-star-o"></i></a>
														</div>
													</div>
												</div>
											</div>
										</div>
                                      </foreach>
									</div>
								</div>
								<div role="tabpanel" class="tab-pane" id="profile">
									<div class="row mb-50">
										<div class="col-xs-5 col-sm-5 col-md-4">
											<div class="product-wrapper">
												<div class="product-img">
													<a href="#"><img src="__ROOT__/Application/Home/Common/img/product/1.jpg" alt="" /></a>
													<span class="new-label">New</span>
												</div>
											</div>											
										</div>
										<div class="col-xs-7 col-sm-7 col-md-8">
											<div class="product-content product-list">
												<div class="pro-title">
													<h3><a href="product-details.html">Mattis Lobortis </a></h3>
												</div>												
												<div class="price-reviews">
													<div class="price-box">
														<span class="price product-price">$500.00</span>
													</div>
													<div class="pro-rating">
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
													</div>
												</div>
												<p>Faded short sleeves t-shirt with high neckline. Soft and stretchy material for a comfortable fit. Accessorize with a straw hat and you're ready for summer!</p>
												<div class="product-action">
													<a class="cart" href="#"><span>Add to cart</span></a>
													<a href="#"><i class="pe-7s-like"></i></a>
													<a href="#"><i class="pe-7s-folder"></i></a>
													<a href="#" data-toggle="modal" data-target="#productModal"><i class="pe-7s-look"></i></a>
												</div>
												<div class="color-list">
													<a href="#"></a>
													<a href="#"></a>
												</div>
											</div>									
										</div>
									</div>
									<div class="row mb-50">
										<div class="col-xs-5 col-sm-5 col-md-4">
											<div class="product-wrapper">
												<div class="product-img">
													<a href="#"><img src="__ROOT__/Application/Home/Common/img/product/7.jpg" alt="" /></a>
													<span class="new-label">New</span>
												</div>
											</div>											
										</div>
										<div class="col-xs-7 col-sm-7 col-md-8">
											<div class="product-content product-list">
												<div class="pro-title">
													<h3><a href="product-details.html">Cras Neque Metus</a></h3>
												</div>												
												<div class="price-reviews">
													<div class="price-box">
														<span class="price product-price">$262.00</span>
														<span class="old-price product-price">$262.00</span>
													</div>
													<div class="pro-rating">
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
													</div>
												</div>
												<p>Faded short sleeves t-shirt with high neckline. Soft and stretchy material for a comfortable fit. Accessorize with a straw hat and you're ready for summer!</p>
												<div class="product-action">
													<a class="cart" href="#"><span>Add to cart</span></a>
													<a href="#"><i class="pe-7s-like"></i></a>
													<a href="#"><i class="pe-7s-folder"></i></a>
													<a href="#" data-toggle="modal" data-target="#productModal"><i class="pe-7s-look"></i></a>
												</div>
												<div class="color-list">
													<a href="#"></a>
													<a href="#"></a>
												</div>
											</div>									
										</div>
									</div>
									<div class="row mb-50">
										<div class="col-xs-5 col-sm-5 col-md-4">
											<div class="product-wrapper">
												<div class="product-img">
													<a href="#"><img src="__ROOT__/Application/Home/Common/img/product/2.jpg" alt="" /></a>
													<span class="new-label">New</span>
												</div>
											</div>											
										</div>
										<div class="col-xs-7 col-sm-7 col-md-8">
											<div class="product-content product-list">
												<div class="pro-title">
													<h3><a href="product-details.html">Proin Lectus </a></h3>
												</div>												
												<div class="price-reviews">
													<div class="price-box">
														<span class="price product-price">$262.00</span>
														<span class="old-price product-price">$262.00</span>
													</div>
													<div class="pro-rating">
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
													</div>
												</div>
												<p>Faded short sleeves t-shirt with high neckline. Soft and stretchy material for a comfortable fit. Accessorize with a straw hat and you're ready for summer!</p>
												<div class="product-action">
													<a class="cart" href="#"><span>Add to cart</span></a>
													<a href="#"><i class="pe-7s-like"></i></a>
													<a href="#"><i class="pe-7s-folder"></i></a>
													<a href="#" data-toggle="modal" data-target="#productModal"><i class="pe-7s-look"></i></a>
												</div>
												<div class="color-list">
													<a href="#"></a>
													<a href="#"></a>
												</div>
											</div>									
										</div>
									</div>
									<div class="row mb-50">
										<div class="col-xs-5 col-sm-5 col-md-4">
											<div class="product-wrapper">
												<div class="product-img">
													<a href="#"><img src="__ROOT__/Application/Home/Common/img/product/4.jpg" alt="" /></a>
													<span class="new-label">New</span>
												</div>
											</div>											
										</div>
										<div class="col-xs-7 col-sm-7 col-md-8">
											<div class="product-content product-list">
												<div class="pro-title">
													<h3><a href="product-details.html">Convallis Interdum </a></h3>
												</div>												
												<div class="price-reviews">
													<div class="price-box">
														<span class="price product-price">$262.00</span>
														<span class="old-price product-price">$262.00</span>
													</div>
													<div class="pro-rating">
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
														<a href="#"><i class="fa fa-star-o"></i></a>
													</div>
												</div>
												<p>Faded short sleeves t-shirt with high neckline. Soft and stretchy material for a comfortable fit. Accessorize with a straw hat and you're ready for summer!</p>
												<div class="product-action">
													<a class="cart" href="#"><span>Add to cart</span></a>
													<a href="#"><i class="pe-7s-like"></i></a>
													<a href="#"><i class="pe-7s-folder"></i></a>
													<a href="#" data-toggle="modal" data-target="#productModal"><i class="pe-7s-look"></i></a>
												</div>
												<div class="color-list">
													<a href="#"></a>
													<a href="#"></a>
												</div>
											</div>									
										</div>
									</div>
								</div>
								<div class="content-sortpagibar">
									<div class="product-count display-inline">Showing 1 - 12 of 13 items</div>
									<ul class="shop-pagi display-inline">
										<li><a href="#"><i class="fa fa-angle-left"></i></a></li>
										<li class="active"><a href="#">1</a></li>
										<li><a href="#">2</a></li>
										<li><a href="#">3</a></li>
										<li><a href="#"><i class="fa fa-angle-right"></i></a></li>
									</ul>
									<div class="selector-field f-right">
										<form action="#">
											<button class="compare">Compare (1)</button>
										</form>
									</div>												
								</div>							
							</div>
						</div>				
					</div>
				</div>
			</div>
		</div>
	</div>
</block>
	
    
    
